package org.summerframework.component.enums.annotation;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * @author 石超
 * @version v1.0.0
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.FIELD})
public @interface EnumKind {
    /**
     * @return 枚举类kind
     */
    @AliasFor("kind")
    String value() default "";

    /**
     * @return 枚举类kind
     */
    @AliasFor("value")
    String kind() default "";

    /**
     * @return 默认分组名称
     */
    String group() default "DEFAULT";

    /**
     * @return 是否显示
     */
    boolean isVisible() default true;
}
